package models

// WzjContractAccessory 合同附件信息表
type WzjContractAccessory struct {
	AccessoryId  int64 `gorm:"column:accessory_id;type:bigint(20);primary_key;AUTO_INCREMENT;comment:主键，自增" json:"accessory_id"`
	ContractId   int64 `gorm:"column:contract_id;type:bigint(20);comment:合同id;NOT NULL" json:"contract_id"`
	FileId       int64 `gorm:"column:file_id;type:bigint(20);comment:附件ID;NOT NULL" json:"file_id"`
	CreateUserId int64 `gorm:"column:create_user_id;type:bigint(20);comment:创建人;NOT NULL" json:"create_user_id"`
	CreateDate   int64 `gorm:"column:create_date;type:bigint(20);comment:创建时间;NOT NULL" json:"create_date"`
}

func (m *WzjContractAccessory) TableName() string {
	return "wzj_contract_accessory"
}
